package controller;

import java.awt.event.KeyEvent;

/*****************************************
 * crossedRiver
 * 
 * frogState for when the frog is at final position
 * 
 * 
 * 
 * @author Stephen Gregory, Jun Wang
 *
 */

public class crossedRiver implements frogState {

	@Override
	public void handleInput(userInputController c, char keyinput) {
		if (keyinput == KeyEvent.VK_ENTER){
			c.model.nextStage();
			c.setState(c.onBankState);
		}
	}

	@Override
	public void frogHitEdge(userInputController userInputController) {
		
	}

}
